import React, { FC } from "react";
import SingleBarChart from "@/components/SingleBarChart";
import useGetVersionDistData from "@/hooks/useGetVersionDistData";
const SingleBarView: FC = () => {
  const { equipDist } = useGetVersionDistData();
  const lineStyle = {
    width: "100%",
    height: "300px",
  };
  return (
    <div style={{ width: "100%" }}>
      <SingleBarChart equipDist={equipDist} lineStyle={lineStyle} />
    </div>
  );
};

export default SingleBarView;
